3D Graphics Programming with QuickDraw 3D 1.5.4
Previous | QD3D Book | Overview | Chapter Contents | Next
QuickDraw 3D defines two- and three-dimensional points in the usual way, as pairs and triples of floating-point numbers. You'll use the TQ3Point3D data type throughout the QuickDraw 3D application programming interfaces. You'll use the TQ3Point2D data type for defining two-dimensional points.
typedef struct TQ3Point2D {
float x;
float y;
} TQ3Point2D;
typedef struct TQ3Point3D {
float x;
float y;
float z;
} TQ3Point3D;
Previous | QD3D Book | Overview | Chapter Contents | Next